vt-d: Fix ISA IRQ alias issue
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 23 Nov 2007 16:39:45 +0000 (16:39 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 23 Nov 2007 16:39:45 +0000 (16:39 +0000)
commit29c4a80b7449ea5d95a74d38c87b5c471102ce7d
treeaf96368432a3acde4dd1d3bb0be2456a51f249d3
parent9ebc5c7ea6e855d71d75b985c4a9ed6cc9f353e2
vt-d: Fix ISA IRQ alias issue

When assign multiple devices to guest which uses PIC, ISA IRQ alias
may occur. This patch splits ISA IRQ and GSI eoi function. In ISA IRQ
eoi function, searches all assigned mirqs and does eoi for the
corresponding mirqs which match the eoi ISA IRQ. Therefore fix ISA IRQ
alias issue.

Signed-off-by: Weidong Han <weidong.han@intel.com>
xen/arch/x86/hvm/irq.c
xen/arch/x86/hvm/vmx/intr.c
xen/arch/x86/hvm/vmx/vtd/io.c
xen/include/asm-x86/hvm/irq.h